import java.util.Scanner;

public class java3_73 {

    public static void main(String[] args) {


        int a = 10;
        int b = 5;

        System.out.println();
    }
    public static  int sumMax(int x,int y){
        return x>y?x:y;
    }

        public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);

                int a = scanner.nextInt();
                int b = a;
                for (int i = 0; i < (a+1)/2; i++) {
                    for (int j = 0; j < b; j++) {
                        if((j == i)||(j == b-i-1)){
                            System.out.print("*");
                        }else{
                            System.out.print(" ");
                        }
                    }
                    System.out.print("\n");
                }
            int c=b;
            b = (b+1)/2;
                for (int i = a/2; i > 0; i--) {
                    for (int j = 0; j < c; j++) {
                        if((j == i - 1)||(j == b)){
                            System.out.print("*");
                        }else{
                            System.out.print(" ");
                        }

                    }
                    b++;
                    System.out.print("\n");

                }
            }


}
